package com.karolak.web.saf.command;

import com.karolak.service.Service;
import com.karolak.web.saf.action.ModelAction;

public interface ActionCommand {
	public <T, Id, S extends Service<T, Id>> void prepare(ModelAction<T, Id, S> action);
	public <T, Id, S extends Service<T, Id>> void validate(ModelAction<T, Id, S> action);
	public <T, Id, S extends Service<T, Id>> String execute(ModelAction<T, Id, S> action);
}
